#import "AppDelegate.h"
#import "GeneratedPluginRegistrant.h"
#import <AliCrashReportPlugin.h>

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application
    didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  [GeneratedPluginRegistrant registerWithRegistry:self];
  // Override point for customization after application launch.
    
    NSString *appVersion = @"1.0"; //app版本，会上报
    NSString *channel = @"ios";     //渠道标记，自定义，会上报
    NSString *nick = @"xx";        
    [AliCrashReportPlugin init:appVersion channel:channel nick:nick];
  return [super application:application didFinishLaunchingWithOptions:launchOptions];
}

@end
